package com.axin.common.entity;

public class SocketResult {
	
	//控制台消息key 前缀
	public static final String CONSOLE = "CONSOLE";
		
	public static final String TASK_UPDATE = "TASK_UPDATE";
	
	public static final String BUY_TRADES_UPDATE = "BUY_TRADES_UPDATE";
	
	public static final String SELL_TRADES_UPDATE = "SELL_TRADES_UPDATE";
		
	private String flag;
	
	private String message;

	public SocketResult(String flag, String message) {
		super();
		this.flag = flag;
		this.message = message;
	}

	

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	@Override
	public String toString() {
		return "SocketResult [flag=" + flag + ", message=" + message + "]";
	}
	
	

}
